SRC = test_lib.c
BIN = test_lib
CC = gcc
GSP_DIR =  ../../../../dep
LIB_DIR =  -L$(GSP_DIR)/sqlparser/lib -L../..
INCLUDE_DIR = -I../../.. -I../..
CFLAGS = -g
LINK_FLAGS = -Wl,-whole-archive -lgspcore -lgspcollection -llktsqlparser -Wl,-no-whole-archive

all: 
	$(CC) $(CFLAGS) $(SRC) -o $(BIN)  $(LIB_DIR) $(INCLUDE_DIR)  $(LINK_FLAGS)

clean:
	rm -rf $(BIN)
	rm -f *.o 
